This page last changed on Jul 24, 2007 by cholmes.

There's a new MIFDataStore available that let's you read and write in Mapinfo MIF/MID format.
To get more information about it see: http://geotools.codehaus.org/MIFDataStore

You can dowload the MIFDataStore's only JAR following the link at the end of the same page.
To use it with GeoServer you must copy it to a location where it is visible from GeoServer's classpath.
For example you can copy it to the directory:

For Binary/exe installations

GEOSERVER_HOME/webapps/geoserver/WEB-INF/lib

For war installations

SERVLET_CONTAINER/webapps/geoserver/WEB-INF/lib

You may have to restart GeoServer to make it see the new jar.

Now if you point your Web browser to the DataStores Admin section of GeoServer:

and click on the "New" link, you should see the MIFDataStore in the combo box of available DataStores.

In the "DataStore Editor" form page you'll see a lot of parameters, but the one you really need to set
is "path" that must point to a directory containing multiple MIF/MID files or to a single MIF file.
The parameter "geometryType" is currently not used, so you always get back untyped Geometry.

The code is still very young, so it may not work as expected. Please file any bug to the GeoTools JIRA
for the "mif" component, or feel free to ask any question on the GeoTools mailing list.
For any question regarding it's use with GeoServer, ask on the GeoServer mailing list instead.

"For war installations" not "For war insallations"

Posted by at Mar 31, 2006 09:22
Document generated by Confluence on Jan 16, 2008 23:27